<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>personal</title>
</head>
<body>
      <h2 align="center">个人信息页面</h2>
      <table border="1" align="center">
          <tr>
              <th>姓名</th>
              <th><span th:text="${zhangshang.get().name}"></span></th>
          </tr>
          <tr>
              <th>学号</th>
              <th><span th:text="${zhangshang.get().number}"></span></th>
          </tr>
          <tr>
              <th>学院</th>
              <th><span th:text="${zhangshang.get().college}"></span></th>
          </tr>
          <tr>
              <th>专业</th>
              <th><span th:text="${zhangshang.get().major}"></span></th>
          </tr>
          <tr>
              <th>年级</th>
              <th><span th:text="${zhangshang.get().level}"></span></th>
          </tr>
          <tr>
              <th>已选课程</th>
              <th><span th:text="${zhangshang.get().course}"></span></th>
          </tr>
      </table>

      <a th:href="@{/course}" id="course">进入选课</a>
</body>
</html>